#ifndef __scps_constants_h__
#define __scps_constants_h__

#define INTER_PACKET_GAP  375     /* Inter packet (start-to-start)gap (375 usec) */

#define TP_TICK           100000  /* 100 ms tick (273/4096) */

#define TP_ACKDELAY       200000    /* 200ms ack delay  */
#define TP_ACKFLOOR       50000     /* Don't ack more often than this */
#define TP_RTOMIN         250000    /* 250 msec min rto */
#define TP_RTOMAX         64000000  /* 64 sec max rto */
#define TP_RETRANSMITTIME 250000    /* rexmit call interval */
#define TP_PERSISTTIME    1000000   /* us until probe sent */
#define TP_TIMEOUT        32  /* max rexmits during a connection */
#define TP_LONGTIMEOUT    32  /* max rexmits for opens */
#define TP_MAXPERSIST_CTR 32  /* max persistance during a connection */
#define TP_RTOPERSIST_MAX (60 * 1000 * 1000)  /* max persistance during a connection */
#define TP_2MSLTIMEOUT    10          /* 2 MSL in seconds */
#define TP_KATIMEOUT      (15 * 60)   /* KeepAlive Timer */

#define BETS_RECEIVE_TIMEOUT 0x100001
#define BETS_MAXIMUM_TRANSMISSIONS  20

#define DEFAULT_ACK_FREQ    2     /* Default Ack behavior */

#define TP_BIGTIME 0x0fffffff     /* A large value of time */
#define HASH_SIZE 100000          /* bytes between hash marks */

#define BUFFER_SIZE  32768

#define TP_MFX_RETRANSMISSION_COUNT 3 /* cycle seg n times */
#define MFX_RETRANSMISSION_INTERLEAVE 10000  /* 10 ms */

#endif /* __scps_constants_h__ */
